<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta charset="UTF-8">
    <title>有奖竞答</title>
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" href="css/main.css">
    <script type="text/javascript" src="./lib/js/evm.js"></script>
    <script type="text/javascript" src="./lib/js/Evm_djyw.js"></script>
    <script type="text/javascript" src="./lib/js/key.js"></script>
    <script src="./lib/js/jquery-1.11.1.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="./lib/js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
    <script src="./js/public.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
    <div class="main">
        <div class="banner" style="display:none;">
            <img src="images/main_banner.png" alt="banner">
        </div>
        <div class="rule">
            <img src="images/rule.png" alt="rule">
        </div>
        <div id="indexMain">
            <div class="model" id="pre"></div>
            <div class="model" id="next"></div>
        </div>
    </div>
    <script>
        var modelIndex = {
            disHeader: false,
            isVideo: false,
            isIndex: true,
            index: 0,//初始位置
            listName: 'model', //模块名称
            containerId: 'indexMain'//包含模块的标签id
        }
        var data = [
            {
                name: '进入答题',
                url: 'dati.html'
            },
            {
                name: '中奖记录',
                url: 'record.html'
            }
        ]

        function direOpt(index, directive) {
            if (directive == "up") {//上
                if (index ==1 ) {
                    index --
                }
            } else if (directive == "down") {//下
                if (index == 0) {
                    index ++
                }
            }
            return index;
        }
        function direEnter(index) {
            if (data[index].url) {
                window.location.href = data[index].url
            }
        }
    </script>
    <script type="text/javascript" src="js/yuan/main.js"></script>
    <script src="js/shouSL.js"></script>
</body>
</html>
